import request from '@/utils/request';

export async function reqTyBaseFormulaList(data: any, options?: any): Promise<any> {
	return request('/api/sys/baseFormula/list', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqAddTyBaseFormula(data: any, options?: any): Promise<any> {
	return request('/api/sys/baseFormula/create', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqUpdateTyBaseFormula(data: any, options?: any): Promise<any> {
	return request('/api/sys/baseFormula/update', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqDeleteTyBaseFormula(data: any, options?: any): Promise<any> {
	return request('/api/sys/baseFormula/delete', {
		method: 'POST',
		data,
		...(options || {}),
	});
}


